(function () {
    var viewFullScreen = document.getElementById("fullscreen");
    if (viewFullScreen) {
    	EventUtil.addHandler(viewFullScreen,"click",function () {
            var docElm = document.getElementById("left-top");
            if (docElm.requestFullscreen) {
                docElm.requestFullscreen();
                full()
            }
            else if (docElm.msRequestFullscreen) {
                docElm.msRequestFullscreen();
                full()
            }
            else if (docElm.mozRequestFullScreen) {
                docElm.mozRequestFullScreen();
                full()
            }
            else if (docElm.webkitRequestFullScreen) {
                docElm.webkitRequestFullScreen();
                full()
            }
        })
    }
})();

function full(){
	setTimeout(function(){
		$("#left-top").height($(window).height())
	    $("#left").width($(document.body).width());
	    $("#left-top").css("width","100%");
	},100)
	
	
}

